<?php
echo $var;
?>
<?php  echo validation_errors();?>
<form method="POST">
    <input type="text" name="txt"/>
    <input type="submit" name="sb" value="Sublit"/>
</form>